package hotel.switchs.oversea.biz.mapper;

import hotel.base.oversea.entity.SwitchPriceBaseSetEntity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @Author lmf
 * @Date 2020/9/10 16:00
 **/
public interface SwitchPriceBaseSetMapper extends BaseMapper<SwitchPriceBaseSetEntity> {
    /**
     * @author: lmf
     * @date: 2020/9/10 18:35
     * 更新上架流程
     */
    int updateById(SwitchPriceBaseSetEntity switchPriceBaseSetEntity);
    /**
     * @author: lmf
     * @date: 2020/9/11 10:30
     * 根据渠道获取对应的价格数据
     */
    List<SwitchPriceBaseSetEntity> selectByChannelName(@Param("channel") String channel);
}
